package com.vic.mvc.prepare.design.chain;

public class DepartmentManager extends Handler{

	@Override
	public boolean doSome(int day) {
		if(day < 5) {
			System.out.println("DepartmentManager agree");
			return true;
		}else {
			System.out.println("DepartmentManager to superior");
			return getHandler().doSome(day);
		}
	}

}
